package _9练习;
public class ActedParrot extends Parrot implements Actor{

	@Override
	public void play() {
		
		System.out.println(age+"岁的"+color+"鹦鹉在表演过跷跷板");
	}
	
	public ActedParrot(String color,int age)
	{
		this.color=color;
		this.age=age;
	}
	
	public ActedParrot() {
		
	}
}
